package com.sunny.fetch.pojo;

import javax.persistence.*;

@Table(name = "f_teleplay_record")
public class FTeleplayRecord {
    @Id
    private Long tid;

    /**
     * 电视剧名称
     */
    private String name;

    /**
     * 题材
     */
    private String classify;

    /**
     * 体裁
     */
    private String types;

    /**
     * 报备机构
     */
    private String org;

    /**
     * 报备时间
     */
    @Column(name = "report_date")
    private String reportDate;

    /**
     * 许可证号
     */
    @Column(name = "license_key")
    private String licenseKey;

    /**
     * 集数
     */
    private String episodes;

    /**
     * 拍摄时间
     */
    @Column(name = "shooting_date")
    private String shootingDate;

    /**
     * 制作周期
     */
    @Column(name = "prod_cycle")
    private String prodCycle;

    /**
     * 内容提要
     */
    private String content;

    /**
     * 省级管理部门备案意见
     */
    @Column(name = "pro_opi")
    private String proOpi;

    /**
     * 相关部门意见
     */
    @Column(name = "dept_opi")
    private String deptOpi;

    /**
     * 备注
     */
    private String remarks;

    public FTeleplayRecord(Long tid, String name, String classify, String types, String org, String reportDate, String licenseKey, String episodes, String shootingDate, String prodCycle, String content, String proOpi, String deptOpi, String remarks) {
        this.tid = tid;
        this.name = name;
        this.classify = classify;
        this.types = types;
        this.org = org;
        this.reportDate = reportDate;
        this.licenseKey = licenseKey;
        this.episodes = episodes;
        this.shootingDate = shootingDate;
        this.prodCycle = prodCycle;
        this.content = content;
        this.proOpi = proOpi;
        this.deptOpi = deptOpi;
        this.remarks = remarks;
    }

    public FTeleplayRecord() {
        super();
    }

    /**
     * @return tid
     */
    public Long getTid() {
        return tid;
    }

    /**
     * @param tid
     */
    public void setTid(Long tid) {
        this.tid = tid;
    }

    /**
     * 获取电视剧名称
     *
     * @return name - 电视剧名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置电视剧名称
     *
     * @param name 电视剧名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取题材
     *
     * @return classify - 题材
     */
    public String getClassify() {
        return classify;
    }

    /**
     * 设置题材
     *
     * @param classify 题材
     */
    public void setClassify(String classify) {
        this.classify = classify;
    }

    /**
     * 获取体裁
     *
     * @return types - 体裁
     */
    public String getTypes() {
        return types;
    }

    /**
     * 设置体裁
     *
     * @param types 体裁
     */
    public void setTypes(String types) {
        this.types = types;
    }

    /**
     * 获取报备机构
     *
     * @return org - 报备机构
     */
    public String getOrg() {
        return org;
    }

    /**
     * 设置报备机构
     *
     * @param org 报备机构
     */
    public void setOrg(String org) {
        this.org = org;
    }

    /**
     * 获取报备时间
     *
     * @return report_date - 报备时间
     */
    public String getReportDate() {
        return reportDate;
    }

    /**
     * 设置报备时间
     *
     * @param reportDate 报备时间
     */
    public void setReportDate(String reportDate) {
        this.reportDate = reportDate;
    }

    /**
     * 获取许可证号
     *
     * @return license_key - 许可证号
     */
    public String getLicenseKey() {
        return licenseKey;
    }

    /**
     * 设置许可证号
     *
     * @param licenseKey 许可证号
     */
    public void setLicenseKey(String licenseKey) {
        this.licenseKey = licenseKey;
    }

    /**
     * 获取集数
     *
     * @return episodes - 集数
     */
    public String getEpisodes() {
        return episodes;
    }

    /**
     * 设置集数
     *
     * @param episodes 集数
     */
    public void setEpisodes(String episodes) {
        this.episodes = episodes;
    }

    /**
     * 获取拍摄时间
     *
     * @return shooting_date - 拍摄时间
     */
    public String getShootingDate() {
        return shootingDate;
    }

    /**
     * 设置拍摄时间
     *
     * @param shootingDate 拍摄时间
     */
    public void setShootingDate(String shootingDate) {
        this.shootingDate = shootingDate;
    }

    /**
     * 获取制作周期
     *
     * @return prod_cycle - 制作周期
     */
    public String getProdCycle() {
        return prodCycle;
    }

    /**
     * 设置制作周期
     *
     * @param prodCycle 制作周期
     */
    public void setProdCycle(String prodCycle) {
        this.prodCycle = prodCycle;
    }

    /**
     * 获取内容提要
     *
     * @return content - 内容提要
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置内容提要
     *
     * @param content 内容提要
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取省级管理部门备案意见
     *
     * @return pro_opi - 省级管理部门备案意见
     */
    public String getProOpi() {
        return proOpi;
    }

    /**
     * 设置省级管理部门备案意见
     *
     * @param proOpi 省级管理部门备案意见
     */
    public void setProOpi(String proOpi) {
        this.proOpi = proOpi;
    }

    /**
     * 获取相关部门意见
     *
     * @return dept_opi - 相关部门意见
     */
    public String getDeptOpi() {
        return deptOpi;
    }

    /**
     * 设置相关部门意见
     *
     * @param deptOpi 相关部门意见
     */
    public void setDeptOpi(String deptOpi) {
        this.deptOpi = deptOpi;
    }

    /**
     * 获取备注
     *
     * @return remarks - 备注
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * 设置备注
     *
     * @param remarks 备注
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tid=").append(tid);
        sb.append(", name=").append(name);
        sb.append(", classify=").append(classify);
        sb.append(", types=").append(types);
        sb.append(", org=").append(org);
        sb.append(", reportDate=").append(reportDate);
        sb.append(", licenseKey=").append(licenseKey);
        sb.append(", episodes=").append(episodes);
        sb.append(", shootingDate=").append(shootingDate);
        sb.append(", prodCycle=").append(prodCycle);
        sb.append(", content=").append(content);
        sb.append(", proOpi=").append(proOpi);
        sb.append(", deptOpi=").append(deptOpi);
        sb.append(", remarks=").append(remarks);
        sb.append("]");
        return sb.toString();
    }
}